
var obj4 = {
  "T1348649079062": [
    {
      "postid": "PHOT4HDP00050098",
      "hasCover": false,
      "hasHead": 1,
      "replyCount": 834,
      "hasImg": 1,
      "digest": "",
      "hasIcon": true,
      "docid": "9IG74V5H00963VRO_C361OAG6zhaojunupdateDoc",
      "title": "姚明合影台北市长再造惊人身高差",
      "order": 1,
      "priority": 251,
      "lmodify": "2016-10-12 16:30:16",
      "boardid": "sports2_bbs",
      "ads": [
        {
          "title": "[影迹]狼王加内特:浪漫的实用主义者",
          "tag": "photoset",
          "imgsrc": "http://cms-bucket.nosdn.127.net/0c19caba01224079b160579f3719c4b020160925074553.jpeg",
          "subtitle": "",
          "url": "5DBP0005|148480"
        }
      ],
      "photosetID": "00980005|148921",
      "template": "normal1",
      "votecount": 729,
      "skipID": "00980005|148921",
      "alias": "Sports",
      "skipType": "photoset",
      "cid": "C1348649048655",
      "hasAD": 1,
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/2d1029e4212a427f8c984cefa20e451e20161012110023.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/48c21e35035b4d929f2bef80e8a6c22220161012110044.jpeg"
        }
      ],
      "source": "网易原创",
      "ename": "tiyu",
      "imgsrc": "http://cms-bucket.nosdn.127.net/b974ef813d0440558bf9cef05851fca220161012162718.jpeg",
      "tname": "体育",
      "ptime": "2016-10-12 11:00:58"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/16/C36L74JL00058780.html",
      "postid": "C36L74JL00058780",
      "votecount": 117,
      "replyCount": 186,
      "ltitle": "12强赛国足连出换人昏招 解析高洪波的临场指挥",
      "digest": "网易体育10月12日特约四叠阳关报道：国足对阵乌兹别克斯坦的比赛，从孙可受伤那一刻起，就注定了失败的命运，因为临危受命登场亮相的姜至鹏，甚至都没有穿比赛服，还需",
      "url": "http://3g.163.com/sports/16/1012/16/C36L74JL00058780.html",
      "docid": "C36L74JL00058780",
      "title": "12强赛国足连出换人昏招 解析高洪波的临场指挥",
      "source": "网易体育",
      "priority": 205,
      "lmodify": "2016-10-12 16:52:46",
      "imgsrc": "http://cms-bucket.nosdn.127.net/a9c2363e7fac4a7d8fc2acb82688b5ec20161012164154.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 16:41:06"
    },
    {
      "postid": "C361L4AN052999L3",
      "url_3w": "",
      "votecount": 40951,
      "replyCount": 43437,
      "skipID": "S1464920831306",
      "ltitle": "3国脚甩锅怒喷球迷19岁小将揽责 董路:3罪人别闹",
      "digest": "国足0-2不敌乌兹别克斯坦基本葬送了晋级世界杯决赛圈的机会，高洪波辞职走人主动承担全部责任，有三位国脚忍不住站出来力挺高洪波的同时也开始甩锅喷球迷，名嘴董路不点",
      "skipType": "special",
      "url": "",
      "specialID": "S1464920831306",
      "docid": "C361L4AN052999L3",
      "title": "3国脚甩锅怒喷球迷19岁小将揽责 董路:3罪人别闹",
      "source": "足坛宙斯",
      "priority": 203,
      "lmodify": "2016-10-12 15:39:54",
      "boardid": "dy_wemedia_bbs",
      "subtitle": "",
      "imgsrc": "http://cms-bucket.nosdn.127.net/8350081402e9488ea31701952d1bee6520161012111937.jpeg",
      "ptime": "2016-10-12 10:59:13"
    },
    {
      "postid": "C36IE44A00058782",
      "url_3w": "http://sports.163.com/16/1012/15/C36IE44A00058782.html",
      "votecount": 0,
      "replyCount": 1,
      "skipID": "S1475996393425",
      "ltitle": "上海大师赛吴迪次轮负西蒙 瓦林卡进16强",
      "digest": "网易体育10月12日报道：ATP'1000上海大师赛继续男单次轮角逐。持外卡参赛的中国选手吴迪以两个2-6的比分完败在法国名将西蒙拍下，无缘16强。美网冠军瓦林",
      "skipType": "special",
      "url": "http://3g.163.com/sports/16/1012/15/C36IE44A00058782.html",
      "specialID": "S1475996393425",
      "docid": "C36IE44A00058782",
      "title": "上海大师赛吴迪次轮负西蒙 瓦林卡进16强",
      "editor": [
        
      ],
      "source": "网易体育",
      "imgType": 1,
      "priority": 190,
      "lmodify": "2016-10-12 16:09:39",
      "boardid": "sports2_bbs",
      "subtitle": "",
      "imgsrc": "http://cms-bucket.nosdn.127.net/f073ed1657284cc3a4ed2fda253d675f20161012160037.jpeg",
      "ptime": "2016-10-12 15:52:29"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/16/C36LCJAS00058782.html",
      "postid": "C36LCJAS00058782",
      "votecount": 0,
      "replyCount": 0,
      "ltitle": "网曝孙杨与前女友有私生子 女方已独立养至2岁",
      "digest": "网易体育10月12日报道：据微博大V全明星探爆料：“日前，知情人爆料：曝孙杨与前女友李莹念有私生子！女方已独立养至2岁。风行摄影师拍到孙杨前女友带小孩外出游玩。",
      "url": "http://3g.163.com/sports/16/1012/16/C36LCJAS00058782.html",
      "docid": "C36LCJAS00058782",
      "title": "网曝孙杨与前女友有私生子 女方已独立养至2岁",
      "source": "网易体育",
      "priority": 178,
      "lmodify": "2016-10-12 17:10:14",
      "imgsrc": "http://cms-bucket.nosdn.127.net/82a6999c89e740608cf9cea4856936b220161012170911.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 16:44:05"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/13/C36APC8300058781.html",
      "postid": "C36APC8300058781",
      "votecount": 755,
      "replyCount": 800,
      "ltitle": "小贝大公子新恋情曝光 分手不久后约会16岁嫩模",
      "digest": "网易体育10月12日报道：日光荏苒，不知不觉万人迷贝克汉姆已经年过四旬，而他的大儿子布鲁克林也慢慢的到了恋爱的年纪。虽然小贝的大儿子在长相上没能遗传到他父亲优异",
      "url": "http://3g.163.com/sports/16/1012/13/C36APC8300058781.html",
      "docid": "C36APC8300058781",
      "title": "小贝大公子新恋情曝光 分手不久后约会16岁嫩模",
      "source": "网易体育",
      "priority": 177,
      "lmodify": "2016-10-12 16:34:28",
      "imgsrc": "http://cms-bucket.nosdn.127.net/5b7cd3b23c3845348a9b568f3b9f3b6e20161012133917.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 13:38:49"
    },
    {
      "postid": "C3698BMV0005877U",
      "url_3w": "http://sports.163.com/16/1012/13/C3698BMV0005877U.html",
      "votecount": 6102,
      "replyCount": 6507,
      "skipID": "S1475363736723",
      "ltitle": "易建联末节出场拿下4+4 湖人主场加时惜败开拓者",
      "digest": "网易体育10月12日报道：波特兰开拓者队延续季前连胜势头。利拉德得到30分，普拉姆利得到11分和11个篮板，开拓者队在加时赛中打出10-1的小高潮确立优势，克拉",
      "skipType": "special",
      "url": "http://3g.163.com/sports/16/1012/13/C3698BMV0005877U.html",
      "specialID": "S1475363736723",
      "docid": "C3698BMV0005877U",
      "title": "易建联末节出场拿下4+4 湖人主场加时惜败开拓者",
      "source": "网易体育",
      "priority": 177,
      "lmodify": "2016-10-12 16:53:04",
      "boardid": "sports2_bbs",
      "subtitle": "",
      "imgsrc": "http://cms-bucket.nosdn.127.net/b1dc81eee7c444b699a4ea39c0204ba720161012131333.jpeg",
      "ptime": "2016-10-12 13:12:03"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/13/C369DMAR0005877U.html",
      "postid": "C369DMAR0005877U",
      "votecount": 7946,
      "replyCount": 8176,
      "ltitle": "阿联打13分钟4分飙远距离干拔 没人防要球遭无视",
      "digest": "网易体育10月12日报道：北京时间10月12日，湖人在主场106-109输给开拓者，易建联在第四节终于得到出场机会，打完了末节和加时赛的最后13分钟，3投1中得",
      "url": "http://3g.163.com/sports/16/1012/13/C369DMAR0005877U.html",
      "docid": "C369DMAR0005877U",
      "title": "阿联打13分钟4分飙远距离干拔 没人防要球遭无视",
      "source": "网易体育",
      "priority": 176,
      "lmodify": "2016-10-12 15:39:45",
      "imgsrc": "http://cms-bucket.nosdn.127.net/2f7941b0145542be8c4130caf090b3bd20161012132146.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 13:14:58"
    },
    {
      "url_3w": "",
      "postid": "C36FSTSA05298O5P",
      "votecount": 6,
      "replyCount": 12,
      "ltitle": "沃顿赞阿联如\"微波炉\" 坐3节板凳立刻进球不容易",
      "digest": "来自《湖人国度》记者莱恩-沃德的消息，湖人主帅卢克-沃顿在赛后称赞了易建联的表现，他表示坐三节板凳还能一上来就进球很不容易。本场比赛阿联一共出场13分钟，打满加",
      "url": "",
      "docid": "C36FSTSA05298O5P",
      "title": "沃顿赞阿联如\"微波炉\" 坐3节板凳立刻进球不容易",
      "source": "OnFire",
      "priority": 175,
      "lmodify": "2016-10-12 16:55:38",
      "imgsrc": "http://cms-bucket.nosdn.127.net/04c95f2ddee24893b4b271d3b7b1f3a120161012160722.jpeg",
      "subtitle": "",
      "boardid": "dy_wemedia_bbs",
      "ptime": "2016-10-12 15:08:09"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/14/C36C20480005877U.html",
      "postid": "C36C20480005877U",
      "votecount": 1666,
      "replyCount": 1780,
      "ltitle": "特等待遇!加时阿联搭4主力 担心?和队友几无交流",
      "digest": "网易体育10月12日报道：湖人季前赛迎战开拓者，最后3分惜败。易建联获得了第四节最后8分钟和整个加时赛的出场时间，最终贡献了4分和4个篮板。在第四节湖人基本上还",
      "url": "http://3g.163.com/sports/16/1012/14/C36C20480005877U.html",
      "docid": "C36C20480005877U",
      "title": "特等待遇!加时阿联搭4主力 担心?和队友几无交流",
      "source": "网易体育",
      "priority": 175,
      "lmodify": "2016-10-12 15:39:42",
      "imgsrc": "http://cms-bucket.nosdn.127.net/78006ea3b6c243379e2c8e24965f91da20161012140534.png",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 14:01:01"
    },
    {
      "postid": "PHOT4HDU000505H1",
      "votecount": 228,
      "replyCount": 259,
      "skipID": "05H10005|148926",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C36EI1E6zhaojunupdateDoc",
      "title": "胖子的天职是减肥!不懂球的胖子也不例外",
      "source": "网易原创",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/10911c7a5ef14442b5c32dfc94c7b23320161012144441.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/22830cb676194449aba5c920fc598a3420161012144440.jpeg"
        }
      ],
      "priority": 174,
      "lmodify": "2016-10-12 16:53:26",
      "boardid": "sports_zh_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/ae57c879288840d5987efe2b39613d7f20161012144441.jpeg",
      "photosetID": "05H10005|148926",
      "ptime": "2016-10-12 14:44:43"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/11/C364FNCS00058780.html",
      "postid": "C364FNCS00058780",
      "votecount": 11695,
      "replyCount": 12810,
      "ltitle": "高洪波曾拿40万工资给2助手\"涨薪\" 还要求保密",
      "digest": "【本文转自足球报记者赵震的个人媒体平台】古希腊的哲人说过“人不能两次踏进同一条河流”，这一条似乎对一个叫高洪波的男人并不适用。5年的时间里，他两次在中国国家队主",
      "url": "http://3g.163.com/sports/16/1012/11/C364FNCS00058780.html",
      "docid": "C364FNCS00058780",
      "title": "高洪波曾拿40万工资给2助手\"涨薪\" 还要求保密",
      "source": "赵震个人媒体平台",
      "priority": 172,
      "lmodify": "2016-10-12 16:53:23",
      "imgsrc": "http://cms-bucket.nosdn.127.net/23dac06f981d48dc9078f188f570bd1d20161012115018.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 11:48:42"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/14/C36E05LP00058780.html",
      "postid": "C36E05LP00058780",
      "votecount": 11341,
      "replyCount": 12645,
      "ltitle": "冯小刚称各行各业都没资格骂中国足球 姜宁点赞",
      "digest": "网易体育10月12日报道：中国足球又迎来了不眠夜，昨晚0比2客场输给乌兹别克斯坦队，国足4战1平3负仅积1分，除非发生奇迹，国足基本告别了俄罗斯世界杯，主教练高",
      "url": "http://3g.163.com/sports/16/1012/14/C36E05LP00058780.html",
      "docid": "C36E05LP00058780",
      "title": "冯小刚称各行各业都没资格骂中国足球 姜宁点赞",
      "source": "网易体育",
      "priority": 171,
      "lmodify": "2016-10-12 16:53:19",
      "imgsrc": "http://cms-bucket.nosdn.127.net/8ef354d1a7dc461aacdb564c6a9076cf20161012143516.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 14:34:58"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/16/C36KNL5O00058781.html",
      "postid": "C36KNL5O00058781",
      "votecount": 48,
      "replyCount": 57,
      "ltitle": "迪马利亚评最强5人:自己领衔 C罗梅西给他打辅助",
      "digest": "网易体育10月12日报道：“天使”迪马利亚曾经和C罗梅西同时成为队友，日前，在评选自己心中的最强5人阵容时，他将绝代双骄都选入了自己的名单。只不过&hellip",
      "url": "http://3g.163.com/sports/16/1012/16/C36KNL5O00058781.html",
      "docid": "C36KNL5O00058781",
      "title": "迪马利亚评最强5人:自己领衔 C罗梅西给他打辅助",
      "source": "网易体育",
      "priority": 170,
      "lmodify": "2016-10-12 16:55:03",
      "imgsrc": "http://cms-bucket.nosdn.127.net/d736bc10aa4f4e85ac796b71d98e45cc20161012163345.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 16:32:39"
    },
    {
      "url_3w": "",
      "postid": "C3626S7N0529AJIS",
      "votecount": 14,
      "replyCount": 21,
      "ltitle": "C罗个人酒店内景曝光 1250欧一晚体验高富帅生活",
      "digest": "近日，葡萄牙巨星C罗与佩斯塔纳酒店集团合作的第二家CR7酒店在里斯本开幕，英国《每日邮报》记者特意前往这家酒店，为读者送上了CR7酒店最新内部图。7月份，C罗的",
      "url": "",
      "docid": "C3626S7N0529AJIS",
      "title": "C罗个人酒店内景曝光 1250欧一晚体验高富帅生活",
      "source": "意甲守望者联盟",
      "priority": 170,
      "lmodify": "2016-10-12 16:54:59",
      "imgsrc": "http://dingyue.nosdn.127.net/MGc1fEmrdR47j3Sct40yAtvaDwzTiJJPO4a4pA8LjoK=P1476241734875.jpg",
      "subtitle": "",
      "boardid": "dy_wemedia_bbs",
      "ptime": "2016-10-12 15:49:23"
    },
    {
      "docid": "9IG74V5H00963VRO_C36226DAzhaojunupdateDoc",
      "editor": [
        
      ],
      "title": "网易直击:\"女魔头\"率中国女篮挑战世界",
      "TAGS": "正在直播 视频",
      "skipID": "99699",
      "source": "网易原创",
      "imgType": 1,
      "priority": 169,
      "live_info": {
        "mutilVideo": false,
        "pano": false,
        "end_time": "2016-10-12 22:00:53",
        "user_count": 70649,
        "roomId": 99699,
        "start_time": "2016-10-12 12:00:20",
        "type": 0,
        "video": true
      },
      "lmodify": "2016-10-12 17:04:21",
      "imgsrc": "http://cms-bucket.nosdn.127.net/0d355b71db444d9a845bee0fb5e572f620161012154309.jpeg",
      "digest": "",
      "skipType": "live",
      "ptime": "2016-10-12 11:06:21",
      "TAG": "正在直播"
    },
    {
      "postid": "C36GCN0805298H53",
      "url_3w": "",
      "votecount": 13,
      "replyCount": 19,
      "ltitle": "中乌复盘:你说不清这是谁造成的\"人祸\"",
      "digest": "写国足的复盘，是最难的，因为你不得不首先试图平息一下自己的愤懑再去看录像；写国足的复盘，是最简单的，因为几乎每一场比赛，死法都差不多。我只希望下一次写国足的复盘",
      "url": "http://server.qiuduoduo.cn:80/posts/detail/68633?lazy=false",
      "docid": "C36GCN0805298H53",
      "title": "中乌复盘:你说不清这是谁造成的\"人祸\"",
      "source": "肆客足球App",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/304c0591069744b58ae35cb81fdb108220161012155149.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/d57b2652c5e146b0beb6fbd3a13e533b20161012155149.jpeg"
        }
      ],
      "priority": 168,
      "lmodify": "2016-10-12 17:04:28",
      "imgsrc": "http://cms-bucket.nosdn.127.net/9db018bddd344a29b6e48914cc791d3e20161012155148.jpeg",
      "subtitle": "",
      "boardid": "dy_wemedia_bbs",
      "ptime": "2016-10-12 15:16:45"
    },
    {
      "postid": "C3668RT4000509J9",
      "url_3w": "http://sports.163.com/16/1012/12/C3668RT4000509J9.html",
      "votecount": 827,
      "replyCount": 941,
      "skipID": "S1397115648044",
      "ltitle": "蔡振华一语点破高洪波 足篮土帅下课是为谁背锅?",
      "digest": "红包?逃兵?任航亲爸?蔡振华一句话点破高洪波“接手中国足球，也就等于走上了不归路。”——蔡振华当年入主足协前的一句话，现在看来是如此神棍。昨夜国足客场完败于乌兹",
      "skipType": "special",
      "url": "http://3g.163.com/sports/16/1012/12/C3668RT4000509J9.html",
      "specialID": "S1397115648044",
      "docid": "C3668RT4000509J9",
      "title": "蔡振华一语点破高洪波 足篮土帅下课是为谁背锅?",
      "source": "网易体育",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/a753fdf7a2d748c5b1c99cb9ed21230220161012164601.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/1460cfacb675440babb8f623ac43731c20161012164600.jpeg"
        }
      ],
      "priority": 167,
      "lmodify": "2016-10-12 17:01:15",
      "boardid": "sports_bbs",
      "subtitle": "",
      "imgsrc": "http://cms-bucket.nosdn.127.net/a4501e8207e444d1a403cd616a66c2e720161012164600.jpeg",
      "ptime": "2016-10-12 12:19:54"
    },
    {
      "postid": "C369KUSD00058780",
      "url_3w": "http://sports.163.com/16/1012/13/C369KUSD00058780.html",
      "votecount": 1327,
      "replyCount": 1511,
      "pixel": "572*312",
      "ltitle": "国足迷之跑位令人看傻 两翼齐废致场面惨不忍睹",
      "digest": "网易体育10月12日报道：北京时间10月11日晚21点，国足在俄罗斯世界杯亚洲区十二强赛第四轮小组赛中客场0-2负于乌兹别克斯坦，四战仅仅拿到一分的尴尬局面下国",
      "url": "http://3g.163.com/sports/16/1012/13/C369KUSD00058780.html",
      "docid": "C369KUSD00058780",
      "title": "国足迷之跑位令人看傻 两翼齐废致场面惨不忍睹",
      "source": "网易体育",
      "priority": 166,
      "lmodify": "2016-10-12 16:18:55",
      "imgsrc": "http://cms-bucket.nosdn.127.net/5a586b59320a44d3a49229c4e997d95620161012130131.png",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 13:18:56"
    },
    {
      "url_3w": "http://sports.163.com/16/1012/13/C36A3J4600058780.html",
      "postid": "C36A3J4600058780",
      "votecount": 2626,
      "replyCount": 2919,
      "ltitle": "黄健翔借古讽今:打败仗罚败将 如此情节周而复始",
      "digest": "网易体育10月12日报道：在国足两球不敌乌兹别克斯坦之后，12强赛出线已经仅存理论可能。对于国足此次12强赛的兵败。名嘴黄健翔在10月12日上午连续发表两条长微",
      "url": "http://3g.163.com/sports/16/1012/13/C36A3J4600058780.html",
      "docid": "C36A3J4600058780",
      "title": "黄健翔借古讽今:打败仗罚败将 如此情节周而复始",
      "source": "网易体育",
      "priority": 165,
      "lmodify": "2016-10-12 16:05:54",
      "imgsrc": "http://cms-bucket.nosdn.127.net/8f55672a0f1f47ab80ca78986e86be0120161012132821.jpeg",
      "subtitle": "",
      "boardid": "sports2_bbs",
      "ptime": "2016-10-12 13:26:56"
    }
  ]
}

app.controller("headCon4", function($scope) {
	// 保存顶部轮播图的对象
	$scope.headerObj4 = {};
	$scope.headerObj4 = obj4.T1348649079062[0];
	$scope.headArr4 = [];

	// 解析顶部轮播图数据
	var headerImgArr4 = $scope.headerObj4.imgextra;
	for(var k = 0; k < headerImgArr4.length; k++) {
		$scope.headArr4.push({
			"imgsrc": headerImgArr4[k].imgsrc,
			"title": $scope.headerObj4.title
		});
	}
	//给轮播图额外添加的2张图片对象
	$scope.first = $scope.headArr4[$scope.headArr4.length - 1];
	$scope.last = $scope.headArr4[0];
});
app.controller("homePageCon4", function($scope) {
	// 保存底下新闻的数据 (初始化)
	$scope.arr4 = [];
	var arr4 = obj4.T1348649079062;
	for(var i = 1; i < arr4.length; i++) {
		$scope.arr4.push(arr4[i]);
	}
});